package com.carbon.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 销售合同审核(Contract)表实体类
 *
 * @author makejava
 * @since 2023-09-14 10:35:43
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "Contract对象", description = "销售合同审核")
@TableName("contract")
public class Contract implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @ApiModelProperty(value = "编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 合同编号
     */
    @ApiModelProperty(value = "合同编号")
    private Integer contractId;

    /**
     * 订单编号
     */
    @ApiModelProperty(value = "订单编号")
    private Integer orderId;

    /**
     * 业务员
     */
    @ApiModelProperty(value = "业务员")
    private String salesman;

    /**
     * 客户
     */
    @ApiModelProperty(value = "客户")
    private String customerName;

    /**
     * 交货日期
     */
    @ApiModelProperty(value = "交货日期")
    private Date deliveryTime;

    /**
     * 送货方式
     */
    @ApiModelProperty(value = "送货方式")
    private String deliveryHow;

    /**
     * 合同金额
     */
    @ApiModelProperty(value = "合同金额")
    private String contractAmount;

    /**
     * 签订日期
     */
    @ApiModelProperty(value = "签订日期")
    private Date signDate;

    /**
     * 申请人
     */
    @ApiModelProperty(value = "申请人")
    private String createBy;

    /**
     * 申请日期
     */
    @ApiModelProperty(value = "申请日期")
    private Date createTime;

    /**
     * 申请状态 0：待审核 1：已审核  2：未提交
     */
    @ApiModelProperty(value = "申请状态 0：待审核 1：已审核  2：未提交")
    private String createStatus;

    /**
     * 审核人
     */
    @ApiModelProperty(value = "审核人")
    private String updateBy;

    /**
     * 审核日期
     */
    @ApiModelProperty(value = "审核日期")
    private Date updateTime;

    /**
     * 审核状态 0：驳回 1：审核通过
     */
    @ApiModelProperty(value = "审核状态 0：驳回 1：审核通过")
    private String updateStatus;
    /**
     * 审核意见
     */
    @ApiModelProperty(value = "审核意见")
    private  String comments;

}







